class NativeConfig {
  String nativeEnv;
  String appId;
  String clientSecret;
  String httpProxyHost;
  int httpProxyPort;
  String portalBaseUrl;
  String saleInBaseUrl;
  String saleOutBaseUrl;
  String revisionMainBaseUrl;
  String saleInMapToolBaseUrl;
  String saleCallRecordBaseUrl;


  NativeConfig(
      {this.nativeEnv,
      this.appId,
      this.clientSecret,
      this.httpProxyHost,
      this.httpProxyPort,
      this.portalBaseUrl,
      this.saleInBaseUrl,
      this.saleOutBaseUrl,
      this.revisionMainBaseUrl,
      this.saleInMapToolBaseUrl,
      this.saleCallRecordBaseUrl
      });

  NativeConfig.fromJson(Map<String, dynamic> json) {
    this.nativeEnv = json['nativeEnv'];
    this.appId = json['appId'];
    this.clientSecret = json['clientSecret'];
    this.httpProxyHost = json['httpProxyHost'];
    this.httpProxyPort = json['httpProxyPort'];
    this.portalBaseUrl = json['portalBaseUrl'];
    this.saleInBaseUrl = json['saleInBaseUrl'];
    this.saleOutBaseUrl = json['saleOutBaseUrl'];
    this.revisionMainBaseUrl = json['commonBaseUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['nativeEnv'] = this.nativeEnv;
    data['appId'] = this.appId;
    data['clientSecret'] = this.clientSecret;
    data['httpProxyHost'] = this.httpProxyHost;
    data['httpProxyPort'] = this.httpProxyPort;
    data['portalBaseUrl'] = this.portalBaseUrl;
    data['saleInBaseUrl'] = this.saleInBaseUrl;
    data['saleOutBaseUrl'] = this.saleOutBaseUrl;
    data['commonBaseUrl'] = this.revisionMainBaseUrl;
    return data;
  }
}
